const mongoose = require('./db')

const cartSchema = new mongoose.Schema({
    userId: mongoose.Types.ObjectId,
    carts: [Object]
})
const cartModel = mongoose.model('cart', cartSchema, 'cart')
module.exports = {
    cartModel
}